﻿using SmartTracking.Domain.Audit;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartTracking.Domain.UserInfo
{
    /// <summary>
    /// 权限表
    /// </summary>
    public class Permissions:Audit_IsDeleted
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [Key]
        public int PermissionId { get; set; }
        /// <summary>
        /// 权限名称
        /// </summary>
        public string PermissionName { get; set; }
        /// <summary>
        /// 权限类型
        /// </summary>
        public string PermissionType { get; set; }
        /// <summary>
        /// 权限等级
        /// </summary>
        public int PermissionLevenl { get; set; }
        /// <summary>
        /// 权限值
        /// </summary>
        public string PermissionValue { get; set; }
        /// <summary>
        /// 权限路径
        /// </summary>
        public string PermissionPath { get; set; }
        /// <summary>
        /// 父级ID
        /// </summary>
        public int ParentId { get; set; }
    }
}
